﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
namespace Purchase.Domian.Model
{
    /// <summary>
    /// 物料信息
    /// </summary>
    public class MaterialInfo:EntityModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        public int MaterialId { get; set; }
        /// <summary>
        /// 物料编号
        /// </summary>
        public string MaterialCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public  string   MaterialName { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        public decimal TaxRate { get; set; }
        /// <summary>
        /// 原未税价格
        /// </summary>
        public decimal Originalprice { get; set; }
        /// <summary>
        /// 原含税价格
        /// </summary>
        public decimal Taxincluded {  get; set; }
        /// <summary>
        /// 新未税价格
        /// </summary>
        public decimal XinOriginalprice { get; set; }
        /// <summary>
        /// 新含税价格
        /// </summary>
        public decimal XTaxincluded { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 采购数量
        /// </summary>
        public int PurchaseQuantity { get; set; }

    }
}
